<div class="modal-header">
  <button type="button" class="close" (click)="dialogRef.close()">&times;</button>
  <h4 class="modal-title">邮件数</h4>
</div>
<div class="modal-body" modal-body>
  <p-dataTable [value]="items" [rows]="10" [(selection)]="selectedItem" [paginator]="true" [pageLinks]="5" [rowsPerPageOptions]="[10,20,30]"
  sortMode="multiple" [lazy]="true" [totalRecords]="totalRecords" (onLazyLoad)="loadItemsLazy($event)" scrollable="true" scrollHeight="400px">
  <!--  后台分页 -->
  <!-- <p-header>表头</p-header> -->
  <!-- <p-column [style]="{'width':'38px'}" selectionMode="multiple"></p-column> -->
  <p-column field="sendTypeName" header="类型" [sortable]="false"></p-column>
  <p-column field="recvName" header="收件人" [sortable]="false"></p-column>
  <p-column field="recvEmail" header="收件人邮箱" [sortable]="false"></p-column>
  <p-column field="sendTime" header="发送时间" [sortable]="false"></p-column>    
  <ng-template pTemplate="emptymessage">
    暂无数据
  </ng-template>
</p-dataTable>
</div>
 


